package com.whmskj.xjlhsc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whmskj.xjlhsc.entity.ShachangSbStoptime;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.JtTcPh;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.RunStopCarVo;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.SbStopTimeVo;

import java.util.List;
import java.util.Map;

/**
 * @author 张
 * @version 1.0
 */


public interface ShachangSbStoptimeService extends IService<ShachangSbStoptime> {
    /**
     * 停车记录
     * @param process
     * @param keyWord
     * @return
     */
    List<SbStopTimeVo> stopList(String process,String keyWord);

    /**
     * 运行停车分析表
     * @param process
     * @param startTime
     * @param endTime
     * @return
     */
    List<Object> runStopCar(String process, String startTime, String endTime);

    /**
     * 停车分析
     * @param process
     * @param startTime
     * @param endTime
     * @return
     */
    List<Map<String, Object>> bantcfx(String process, String startTime, String endTime);

    /**
     * 机台停车排行
     * @param process
     * @param Time
     * @param type
     * @return
     */
    List<JtTcPh> jttcph(String process, String Time, String type);


    /**
     * 班组停车统计
     * @param process
     * @param startTime
     * @param endTime
     * @return
     */
    List<Map<String, Object>> banzutctj(String process, String startTime, String endTime);

    List<Map<String, Object>> getPCMonth();
}
